package com.rc.web.converter;


import com.rc.pojo.dto.knowLedgvideo.KnowLedgeVideoAddDTO;
import com.rc.pojo.dto.knowLedgvideo.KnowLedgeVideoUpdateDTO;
import com.rc.pojo.po.KnowledgeVideo;
import com.rc.pojo.vo.knowledgevideo.KnowledgeVideoVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface KnowledgeVideoConverter {
   KnowledgeVideo addDTO2PO(KnowLedgeVideoAddDTO dto);

   KnowledgeVideo updateDTO2PO(KnowLedgeVideoUpdateDTO dto);

   KnowledgeVideoVO toVO(KnowledgeVideo knowledgeVideo);
}
